// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// 引入Mint-UI的全部组件
import MintUI from 'mint-ui'; // 插件，必须有install方法
import 'mint-ui/lib/style.css'

// 安装 Vue.js 插件
Vue.use(MintUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
